package com.demandbreakdown.xiyun.model.dto.user;

import com.demandbreakdown.xiyun.common.base.PageQuery;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 用户查询DTO
 *
 * @author poxz
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Schema(description = "用户查询DTO")
public class UserQueryDTO extends PageQuery {

    @Schema(description = "用户账号", example = "alice")
    private String userAccount;

    @Schema(description = "用户昵称", example = "Alice")
    private String userName;

    @Schema(description = "用户角色：user/admin", example = "user")
    private String userRole;

    @Schema(description = "用户状态：0-禁用，1-正常", example = "1")
    private Integer userStatus;
}
